﻿namespace Coding4Fun.MissionControl.WP
{
    public static class Constants
    {
        // Message constants used for in-app visual alerts.
        public const string MESSAGE_SERVER_CONNECT_FAIL = "No connection was established.";
        public const string MESSAGE_NO_NAME_FAIL = "A unique name is required to process this item.";
        public const string MESSAGE_COMMAND_LEARN_WAIT = "We have sent the command learn request to the server. We will let you know once the command is learned!";

        // Command constants, used to send data to the server.
        public const string COMMAND_SERVER_HELLO = "INIT";
        public const string COMMAND_LEARN_NEW = "LEARN_COMMAND:{0}";
        public const string COMMAND_GET_COMMANDS = "GET_COMMANDS";
        public const string COMMAND_CREATE_SET = "CREATE_SET:{0}";
        public const string COMMAND_EXECUTE = "EXECUTE:{0}";
        public const string COMMAND_DELETE_SET = "DELETE_SET";
        public const string COMMAND_DELETE_COMMAND = "DELETE_COMMAND:{0}";

        public const string COMMAND_SERVER_SET_LIST = "SET_LIST";
        public const string COMMAND_SERVER_SET_COMMANDS = "SET_COMMANDS";
        public const string COMMAND_SERVER_NOTIFICATION = "NOTIFICATION";

        // File name constants
        public const string FAVORITES_FILE = "fav.xml";
        public const string SERVERS_FILE = "servers.xml";
    }
}
